package main

import (
	"go_actual_battalion/netcmd/pkg"
	"log"
	"os"

	"github.com/urfave/cli"
)

func main() {
	app := cli.App{
		Name:      "Website Lookup CLI",
		Usage:     "Let's you query IPs, CNAMEs and Name Servers!",
		UsageText: "cli [global options] command [command options] [arguments...]",
		Version:   "0.0.0",
		Commands: []cli.Command{
			pkg.Ns(),
			pkg.Cname(),
			pkg.Ip(),
		},
	}

	err := app.Run(os.Args)
	if err != nil {
		log.Fatal(err)
	}
}
